﻿<Window x:Class="WPFTrees.SettingsDlg"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="SettingsDlg" Height="265" Width="300" Loaded="Window_Loaded">
    <StackPanel>
    <TabControl HorizontalAlignment="Stretch" Name="tabControl1" VerticalAlignment="Stretch">
        <TabItem Header="Sizes" Name="tabItem1">
            <Grid Height="147" x:Name="gridSizes">
                <Grid.RowDefinitions>
                    <RowDefinition Height="70*" />
                    <RowDefinition Height="77*" />
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition />
                    <ColumnDefinition />
                </Grid.ColumnDefinitions>
                
                <Label>Leaf Node Size</Label>                
                <Label Grid.Row="1">Inner Node Size</Label>
                <Slider Height="23" HorizontalAlignment="Left" Margin="6,28,0,0" Name="slider1" VerticalAlignment="Top" Width="100" Minimum="1" Maximum="10" ValueChanged="slider1_ValueChanged" />
                <Slider Grid.Row="1" Height="23" HorizontalAlignment="Left" Margin="6,28,0,0" Name="slider2" VerticalAlignment="Top" Width="100" Minimum="1" ValueChanged="slider2_ValueChanged" Maximum="10" />
            </Grid>
        </TabItem>
    </TabControl>
        <Grid Height="46">
            <Grid.RowDefinitions>
                <RowDefinition />
                <RowDefinition />
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition />
                <ColumnDefinition />
            </Grid.ColumnDefinitions>
            <Button Margin="39,0,19,0" Click="Button_Click">OK</Button>
            <Button Grid.Column="1" Margin="0,0,69,0" Click="Button_Click_1">Cancel</Button>
        </Grid>
    </StackPanel>
</Window>
